const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
  //打包删去map文件
  productionSourceMap: false,
  // 关闭ESLINT校验工具
  lintOnSave: false,
  transpileDependencies: true,
  //配置代理跨域
  devServer: {
    proxy: {
      '/api': {
        target: 'http://gmall-h5-api.atguigu.cn'
      }
    }
  }
})
